package com.naishuo.bigevent.service;

import com.naishuo.bigevent.pojo.Category;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CategoryService {
    void addcategory(Category category);

    List<Category> findAll();

    List<Category> findAllByUserId(Integer id);

    void updateCategory(Category category);

    void deleteCategory(Integer id);
}
